﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NTmdb.TestProject
{
    /// <summary>
    ///     This is a test class for TmdbListItemRequestTest and is intended
    ///     to contain all TmdbListItemRequestTest Unit Tests
    /// </summary>
    [TestClass]
    public class TmdbListItemRequestTest
    {
        /// <summary>
        ///     A test for TmdbListItemRequest Constructor
        /// </summary>
        [TestMethod]
        public void TmdbListItemRequestConstructorTest()
        {
            var target = new TmdbListItemRequest();
            Assert.IsNotNull( target );
        }

        /// <summary>
        ///     A test for MovieId
        /// </summary>
        [TestMethod]
        public void MovieIdTest()
        {
            var target = new TmdbListItemRequest();
            int expected = new Random().Next( 0, Int32.MaxValue );
            target.MovieId = expected;
            int actual = target.MovieId;
            Assert.AreEqual( expected, actual );
        }

        /// <summary>
        ///     A test for Serialize & Deserialize
        /// </summary>
        [TestMethod]
        public void SerializeDeserializeTest()
        {
            Assert.Inconclusive();
        }
    }
}